<div class="p_isearch">
    <h4>资讯检索</h4>
	<?php 
	$monthOptions = array(1=>'January.01月',
	                      2=>'February.02月',
	                      3=>'March.03月',
	                      4=>'April.04月',
	                      5=>'May.05月',
	                      6=>'June.06月',
	                      7=>'July.07月',
	                      8=>'August.08月',
	                      9=>'September.09月',
	                      10=>'October.10月',
	                      11=>'Novenber.11月',
	                      12=>'Decenber.12月',);
	
	?>
	
	<?php foreach ($classes as $year=>$class) :?>
	<h5 class="p_ion">YEAR<?php echo $year;?><span>(<?php echo array_sum($class);?>)</span></h5>
	<ul>
		<?php foreach (array_reverse($class,true) as $month=>$count) :?>
		<li>
		    <a href="index.php?r=infoContent/list&month=<?php echo $year;?>-<?php echo $month;?>" 
		       title="<?php echo $monthOptions[$month];?>">
		        <?php echo $monthOptions[$month];?>
		        <span>(<?php echo $count;?>)</span>
		    </a>
		</li>
		<?php endforeach?>
	</ul>
	<?php endforeach?>
</div>
